package com.gaussian.property.app.vo.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @description:
 * @author: songqi(13776346982)
 * @date: 2024/4/19 15:40
 */
@Data
@ApiModel("回复留言")
public class ReplyForm {

    @ApiModelProperty("项目留言id")
    @NotBlank(message = "项目留言id不能为空")
    private String projectMessageId;

    @ApiModelProperty("回复内容")
    @Size(max = 255, message = "回复内容不能超过255个字符")
    @NotBlank(message = "回复内容不能为空")
    private String content;
}
